package com.pojo;

import java.io.Serializable;

public class user implements Serializable {

    private int userid;
    private String userName;
    private String password;
    private String address;
    private double money;


    public user(int userid, String userName, String password, String address, double money) {
        this.userid = userid;
        this.userName = userName;
        this.password = password;
        this.address = address;
        this.money = money;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "user{" +
                "userid=" + userid +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", address='" + address + '\'' +
                ", money=" + money +
                '}';
    }
}
